package com.ruoyi.wisdom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 访客登记对象 fz_service_visitor
 * 
 * @author ruoyi
 * @date 2020-03-05
 */
public class FzServiceVisitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 访客id */
    private String visitorId;

    /** 小区id */
    @Excel(name = "小区id")
    private String cId;

    /** 访客姓名 */
    @Excel(name = "访客姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 访问业主 */
    @Excel(name = "访问业主")
    private String yeId;

    /** 访问事由 */
    @Excel(name = "访问事由")
    private String cause;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "用户ID")
    private String updateName;

    /** 数据状态，详细参考c_status表，0, 在用 1失效 */
    @Excel(name = "数据状态，详细参考c_status表，0, 在用 1失效")
    private String statusCd;

    public void setVisitorId(String visitorId) 
    {
        this.visitorId = visitorId;
    }

    public String getVisitorId() 
    {
        return visitorId;
    }
    public void setcId(String cId) 
    {
        this.cId = cId;
    }

    public String getcId() 
    {
        return cId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setYeId(String yeId) 
    {
        this.yeId = yeId;
    }

    public String getYeId() 
    {
        return yeId;
    }
    public void setCause(String cause) 
    {
        this.cause = cause;
    }

    public String getCause() 
    {
        return cause;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setStatusCd(String statusCd) 
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd() 
    {
        return statusCd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("visitorId", getVisitorId())
            .append("cId", getcId())
            .append("name", getName())
            .append("sex", getSex())
            .append("phone", getPhone())
            .append("yeId", getYeId())
            .append("cause", getCause())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("remark", getRemark())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("statusCd", getStatusCd())
            .toString();
    }
}
